package com.hzx.dao;

import com.hzx.pojo.Administrator;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface AdministratorMapper {

    Integer deleteByPrimaryKey(Integer id);

    Integer insert(Administrator record);

    Integer insertSelective(Administrator record);

    Administrator selectByPrimaryKey(Integer id);

    Integer updateByPrimaryKeySelective(Administrator record);

    Integer updateByPrimaryKey(Administrator record);

    /* 以下为自定义内容 */

    Administrator selectInitialAdmin();

    Administrator selectByAccount(String account);

    List<Administrator> selectAdmin();
}
